efinet: add structures for PXE messages
authorMichael Chang <mchang@suse.com>
Tue, 25 Apr 2023 15:05:16 +0000 (11:05 -0400)
committerFelix Zielcke <fzielcke@z-51.de>
Thu, 3 Jul 2025 16:35:51 +0000 (18:35 +0200)
commiteaa77d14441f36d57de3bcd03197c38e3803b70a
treecf4c65696cd4496ad426c4eae4f93633c7d5cc88
parent36123fcd4cfdb37bc8de6117bd5c7e09905087fd
efinet: add structures for PXE messages

When grub2 image is booted from UEFI IPv6 PXE, the DHCPv6 Reply packet
is cached in firmware buffer which can be obtained by PXE Base Code
protocol.  The network interface can be setup through the parameters in
that obtained packet.

Augment existing structures to represent this, and make them agnostic
between ipv4 and ipv6.

Signed-off-by: Michael Chang <mchang@suse.com>
Signed-off-by: Ken Lin <ken.lin@hpe.com>
Co-authored-by: Robbie Harwood <rharwood@redhat.com>
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Gbp-Pq: Topic network
Gbp-Pq: Name efinet-add-structures-for-PXE-messages.patch
grub-core/net/drivers/efi/efinet.c
include/grub/efi/api.h